from rest_framework import serializers  # 引入序列化模块
from ..models import Type


class TypeModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = Type
        fields = "__all__"
